eg = etree.HTML(open('new 1.html').read()).xpath('//ul/li')
print eg.xpath('text')